package com.shelpe.services.simbasync.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class AdgroupsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AdgroupsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andAdgroupIdIsNull() {
            addCriterion("adgroup_id is null");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdIsNotNull() {
            addCriterion("adgroup_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdEqualTo(Long value) {
            addCriterion("adgroup_id =", value, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdNotEqualTo(Long value) {
            addCriterion("adgroup_id <>", value, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdGreaterThan(Long value) {
            addCriterion("adgroup_id >", value, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdGreaterThanOrEqualTo(Long value) {
            addCriterion("adgroup_id >=", value, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdLessThan(Long value) {
            addCriterion("adgroup_id <", value, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdLessThanOrEqualTo(Long value) {
            addCriterion("adgroup_id <=", value, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdIn(List<Long> values) {
            addCriterion("adgroup_id in", values, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdNotIn(List<Long> values) {
            addCriterion("adgroup_id not in", values, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdBetween(Long value1, Long value2) {
            addCriterion("adgroup_id between", value1, value2, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andAdgroupIdNotBetween(Long value1, Long value2) {
            addCriterion("adgroup_id not between", value1, value2, "adgroupId");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceIsNull() {
            addCriterion("is_nonsearch_max_price is null");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceIsNotNull() {
            addCriterion("is_nonsearch_max_price is not null");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceEqualTo(Byte value) {
            addCriterion("is_nonsearch_max_price =", value, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceNotEqualTo(Byte value) {
            addCriterion("is_nonsearch_max_price <>", value, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceGreaterThan(Byte value) {
            addCriterion("is_nonsearch_max_price >", value, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_nonsearch_max_price >=", value, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceLessThan(Byte value) {
            addCriterion("is_nonsearch_max_price <", value, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceLessThanOrEqualTo(Byte value) {
            addCriterion("is_nonsearch_max_price <=", value, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceIn(List<Byte> values) {
            addCriterion("is_nonsearch_max_price in", values, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceNotIn(List<Byte> values) {
            addCriterion("is_nonsearch_max_price not in", values, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceBetween(Byte value1, Byte value2) {
            addCriterion("is_nonsearch_max_price between", value1, value2, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andIsNonsearchMaxPriceNotBetween(Byte value1, Byte value2) {
            addCriterion("is_nonsearch_max_price not between", value1, value2, "isNonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNickIsNull() {
            addCriterion("nick is null");
            return (Criteria) this;
        }

        public Criteria andNickIsNotNull() {
            addCriterion("nick is not null");
            return (Criteria) this;
        }

        public Criteria andNickEqualTo(String value) {
            addCriterion("nick =", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickNotEqualTo(String value) {
            addCriterion("nick <>", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickGreaterThan(String value) {
            addCriterion("nick >", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickGreaterThanOrEqualTo(String value) {
            addCriterion("nick >=", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickLessThan(String value) {
            addCriterion("nick <", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickLessThanOrEqualTo(String value) {
            addCriterion("nick <=", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickLike(String value) {
            addCriterion("nick like", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickNotLike(String value) {
            addCriterion("nick not like", value, "nick");
            return (Criteria) this;
        }

        public Criteria andNickIn(List<String> values) {
            addCriterion("nick in", values, "nick");
            return (Criteria) this;
        }

        public Criteria andNickNotIn(List<String> values) {
            addCriterion("nick not in", values, "nick");
            return (Criteria) this;
        }

        public Criteria andNickBetween(String value1, String value2) {
            addCriterion("nick between", value1, value2, "nick");
            return (Criteria) this;
        }

        public Criteria andNickNotBetween(String value1, String value2) {
            addCriterion("nick not between", value1, value2, "nick");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdIsNull() {
            addCriterion("campaign_id is null");
            return (Criteria) this;
        }

        public Criteria andCampaignIdIsNotNull() {
            addCriterion("campaign_id is not null");
            return (Criteria) this;
        }

        public Criteria andCampaignIdEqualTo(Long value) {
            addCriterion("campaign_id =", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotEqualTo(Long value) {
            addCriterion("campaign_id <>", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdGreaterThan(Long value) {
            addCriterion("campaign_id >", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdGreaterThanOrEqualTo(Long value) {
            addCriterion("campaign_id >=", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdLessThan(Long value) {
            addCriterion("campaign_id <", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdLessThanOrEqualTo(Long value) {
            addCriterion("campaign_id <=", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdIn(List<Long> values) {
            addCriterion("campaign_id in", values, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotIn(List<Long> values) {
            addCriterion("campaign_id not in", values, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdBetween(Long value1, Long value2) {
            addCriterion("campaign_id between", value1, value2, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotBetween(Long value1, Long value2) {
            addCriterion("campaign_id not between", value1, value2, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsIsNull() {
            addCriterion("category_ids is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsIsNotNull() {
            addCriterion("category_ids is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsEqualTo(String value) {
            addCriterion("category_ids =", value, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsNotEqualTo(String value) {
            addCriterion("category_ids <>", value, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsGreaterThan(String value) {
            addCriterion("category_ids >", value, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsGreaterThanOrEqualTo(String value) {
            addCriterion("category_ids >=", value, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsLessThan(String value) {
            addCriterion("category_ids <", value, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsLessThanOrEqualTo(String value) {
            addCriterion("category_ids <=", value, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsLike(String value) {
            addCriterion("category_ids like", value, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsNotLike(String value) {
            addCriterion("category_ids not like", value, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsIn(List<String> values) {
            addCriterion("category_ids in", values, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsNotIn(List<String> values) {
            addCriterion("category_ids not in", values, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsBetween(String value1, String value2) {
            addCriterion("category_ids between", value1, value2, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andCategoryIdsNotBetween(String value1, String value2) {
            addCriterion("category_ids not between", value1, value2, "categoryIds");
            return (Criteria) this;
        }

        public Criteria andNumIidIsNull() {
            addCriterion("num_iid is null");
            return (Criteria) this;
        }

        public Criteria andNumIidIsNotNull() {
            addCriterion("num_iid is not null");
            return (Criteria) this;
        }

        public Criteria andNumIidEqualTo(Long value) {
            addCriterion("num_iid =", value, "numIid");
            return (Criteria) this;
        }

        public Criteria andNumIidNotEqualTo(Long value) {
            addCriterion("num_iid <>", value, "numIid");
            return (Criteria) this;
        }

        public Criteria andNumIidGreaterThan(Long value) {
            addCriterion("num_iid >", value, "numIid");
            return (Criteria) this;
        }

        public Criteria andNumIidGreaterThanOrEqualTo(Long value) {
            addCriterion("num_iid >=", value, "numIid");
            return (Criteria) this;
        }

        public Criteria andNumIidLessThan(Long value) {
            addCriterion("num_iid <", value, "numIid");
            return (Criteria) this;
        }

        public Criteria andNumIidLessThanOrEqualTo(Long value) {
            addCriterion("num_iid <=", value, "numIid");
            return (Criteria) this;
        }

        public Criteria andNumIidIn(List<Long> values) {
            addCriterion("num_iid in", values, "numIid");
            return (Criteria) this;
        }

        public Criteria andNumIidNotIn(List<Long> values) {
            addCriterion("num_iid not in", values, "numIid");
            return (Criteria) this;
        }

        public Criteria andNumIidBetween(Long value1, Long value2) {
            addCriterion("num_iid between", value1, value2, "numIid");
            return (Criteria) this;
        }

        public Criteria andNumIidNotBetween(Long value1, Long value2) {
            addCriterion("num_iid not between", value1, value2, "numIid");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceIsNull() {
            addCriterion("default_price is null");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceIsNotNull() {
            addCriterion("default_price is not null");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceEqualTo(Integer value) {
            addCriterion("default_price =", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceNotEqualTo(Integer value) {
            addCriterion("default_price <>", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceGreaterThan(Integer value) {
            addCriterion("default_price >", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("default_price >=", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceLessThan(Integer value) {
            addCriterion("default_price <", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceLessThanOrEqualTo(Integer value) {
            addCriterion("default_price <=", value, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceIn(List<Integer> values) {
            addCriterion("default_price in", values, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceNotIn(List<Integer> values) {
            addCriterion("default_price not in", values, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceBetween(Integer value1, Integer value2) {
            addCriterion("default_price between", value1, value2, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andDefaultPriceNotBetween(Integer value1, Integer value2) {
            addCriterion("default_price not between", value1, value2, "defaultPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceIsNull() {
            addCriterion("nonsearch_max_price is null");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceIsNotNull() {
            addCriterion("nonsearch_max_price is not null");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceEqualTo(Integer value) {
            addCriterion("nonsearch_max_price =", value, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceNotEqualTo(Integer value) {
            addCriterion("nonsearch_max_price <>", value, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceGreaterThan(Integer value) {
            addCriterion("nonsearch_max_price >", value, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("nonsearch_max_price >=", value, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceLessThan(Integer value) {
            addCriterion("nonsearch_max_price <", value, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceLessThanOrEqualTo(Integer value) {
            addCriterion("nonsearch_max_price <=", value, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceIn(List<Integer> values) {
            addCriterion("nonsearch_max_price in", values, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceNotIn(List<Integer> values) {
            addCriterion("nonsearch_max_price not in", values, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceBetween(Integer value1, Integer value2) {
            addCriterion("nonsearch_max_price between", value1, value2, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andNonsearchMaxPriceNotBetween(Integer value1, Integer value2) {
            addCriterion("nonsearch_max_price not between", value1, value2, "nonsearchMaxPrice");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeIsNull() {
            addCriterion("offline_type is null");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeIsNotNull() {
            addCriterion("offline_type is not null");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeEqualTo(String value) {
            addCriterion("offline_type =", value, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeNotEqualTo(String value) {
            addCriterion("offline_type <>", value, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeGreaterThan(String value) {
            addCriterion("offline_type >", value, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeGreaterThanOrEqualTo(String value) {
            addCriterion("offline_type >=", value, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeLessThan(String value) {
            addCriterion("offline_type <", value, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeLessThanOrEqualTo(String value) {
            addCriterion("offline_type <=", value, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeLike(String value) {
            addCriterion("offline_type like", value, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeNotLike(String value) {
            addCriterion("offline_type not like", value, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeIn(List<String> values) {
            addCriterion("offline_type in", values, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeNotIn(List<String> values) {
            addCriterion("offline_type not in", values, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeBetween(String value1, String value2) {
            addCriterion("offline_type between", value1, value2, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOfflineTypeNotBetween(String value1, String value2) {
            addCriterion("offline_type not between", value1, value2, "offlineType");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusIsNull() {
            addCriterion("online_status is null");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusIsNotNull() {
            addCriterion("online_status is not null");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusEqualTo(String value) {
            addCriterion("online_status =", value, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusNotEqualTo(String value) {
            addCriterion("online_status <>", value, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusGreaterThan(String value) {
            addCriterion("online_status >", value, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusGreaterThanOrEqualTo(String value) {
            addCriterion("online_status >=", value, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusLessThan(String value) {
            addCriterion("online_status <", value, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusLessThanOrEqualTo(String value) {
            addCriterion("online_status <=", value, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusLike(String value) {
            addCriterion("online_status like", value, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusNotLike(String value) {
            addCriterion("online_status not like", value, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusIn(List<String> values) {
            addCriterion("online_status in", values, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusNotIn(List<String> values) {
            addCriterion("online_status not in", values, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusBetween(String value1, String value2) {
            addCriterion("online_status between", value1, value2, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andOnlineStatusNotBetween(String value1, String value2) {
            addCriterion("online_status not between", value1, value2, "onlineStatus");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeIsNull() {
            addCriterion("modified_time is null");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeIsNotNull() {
            addCriterion("modified_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeEqualTo(Date value) {
            addCriterion("modified_time =", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeNotEqualTo(Date value) {
            addCriterion("modified_time <>", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeGreaterThan(Date value) {
            addCriterion("modified_time >", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modified_time >=", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeLessThan(Date value) {
            addCriterion("modified_time <", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeLessThanOrEqualTo(Date value) {
            addCriterion("modified_time <=", value, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeIn(List<Date> values) {
            addCriterion("modified_time in", values, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeNotIn(List<Date> values) {
            addCriterion("modified_time not in", values, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeBetween(Date value1, Date value2) {
            addCriterion("modified_time between", value1, value2, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andModifiedTimeNotBetween(Date value1, Date value2) {
            addCriterion("modified_time not between", value1, value2, "modifiedTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNull() {
            addCriterion("updated_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIsNotNull() {
            addCriterion("updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeEqualTo(Date value) {
            addCriterion("updated_time =", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotEqualTo(Date value) {
            addCriterion("updated_time <>", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThan(Date value) {
            addCriterion("updated_time >", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updated_time >=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThan(Date value) {
            addCriterion("updated_time <", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("updated_time <=", value, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeIn(List<Date> values) {
            addCriterion("updated_time in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotIn(List<Date> values) {
            addCriterion("updated_time not in", values, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("updated_time between", value1, value2, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("updated_time not between", value1, value2, "updatedTime");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(String value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(String value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(String value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(String value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(String value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(String value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLike(String value) {
            addCriterion("place_id like", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotLike(String value) {
            addCriterion("place_id not like", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<String> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<String> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(String value1, String value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(String value1, String value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andItemImgsIsNull() {
            addCriterion("item_imgs is null");
            return (Criteria) this;
        }

        public Criteria andItemImgsIsNotNull() {
            addCriterion("item_imgs is not null");
            return (Criteria) this;
        }

        public Criteria andItemImgsEqualTo(String value) {
            addCriterion("item_imgs =", value, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsNotEqualTo(String value) {
            addCriterion("item_imgs <>", value, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsGreaterThan(String value) {
            addCriterion("item_imgs >", value, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsGreaterThanOrEqualTo(String value) {
            addCriterion("item_imgs >=", value, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsLessThan(String value) {
            addCriterion("item_imgs <", value, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsLessThanOrEqualTo(String value) {
            addCriterion("item_imgs <=", value, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsLike(String value) {
            addCriterion("item_imgs like", value, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsNotLike(String value) {
            addCriterion("item_imgs not like", value, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsIn(List<String> values) {
            addCriterion("item_imgs in", values, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsNotIn(List<String> values) {
            addCriterion("item_imgs not in", values, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsBetween(String value1, String value2) {
            addCriterion("item_imgs between", value1, value2, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andItemImgsNotBetween(String value1, String value2) {
            addCriterion("item_imgs not between", value1, value2, "itemImgs");
            return (Criteria) this;
        }

        public Criteria andImgUrlIsNull() {
            addCriterion("img_url is null");
            return (Criteria) this;
        }

        public Criteria andImgUrlIsNotNull() {
            addCriterion("img_url is not null");
            return (Criteria) this;
        }

        public Criteria andImgUrlEqualTo(String value) {
            addCriterion("img_url =", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotEqualTo(String value) {
            addCriterion("img_url <>", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlGreaterThan(String value) {
            addCriterion("img_url >", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("img_url >=", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlLessThan(String value) {
            addCriterion("img_url <", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlLessThanOrEqualTo(String value) {
            addCriterion("img_url <=", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlLike(String value) {
            addCriterion("img_url like", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotLike(String value) {
            addCriterion("img_url not like", value, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlIn(List<String> values) {
            addCriterion("img_url in", values, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotIn(List<String> values) {
            addCriterion("img_url not in", values, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlBetween(String value1, String value2) {
            addCriterion("img_url between", value1, value2, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andImgUrlNotBetween(String value1, String value2) {
            addCriterion("img_url not between", value1, value2, "imgUrl");
            return (Criteria) this;
        }

        public Criteria andDriveTypeIsNull() {
            addCriterion("drive_type is null");
            return (Criteria) this;
        }

        public Criteria andDriveTypeIsNotNull() {
            addCriterion("drive_type is not null");
            return (Criteria) this;
        }

        public Criteria andDriveTypeEqualTo(Byte value) {
            addCriterion("drive_type =", value, "driveType");
            return (Criteria) this;
        }

        public Criteria andDriveTypeNotEqualTo(Byte value) {
            addCriterion("drive_type <>", value, "driveType");
            return (Criteria) this;
        }

        public Criteria andDriveTypeGreaterThan(Byte value) {
            addCriterion("drive_type >", value, "driveType");
            return (Criteria) this;
        }

        public Criteria andDriveTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("drive_type >=", value, "driveType");
            return (Criteria) this;
        }

        public Criteria andDriveTypeLessThan(Byte value) {
            addCriterion("drive_type <", value, "driveType");
            return (Criteria) this;
        }

        public Criteria andDriveTypeLessThanOrEqualTo(Byte value) {
            addCriterion("drive_type <=", value, "driveType");
            return (Criteria) this;
        }

        public Criteria andDriveTypeIn(List<Byte> values) {
            addCriterion("drive_type in", values, "driveType");
            return (Criteria) this;
        }

        public Criteria andDriveTypeNotIn(List<Byte> values) {
            addCriterion("drive_type not in", values, "driveType");
            return (Criteria) this;
        }

        public Criteria andDriveTypeBetween(Byte value1, Byte value2) {
            addCriterion("drive_type between", value1, value2, "driveType");
            return (Criteria) this;
        }

        public Criteria andDriveTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("drive_type not between", value1, value2, "driveType");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateIsNull() {
            addCriterion("maintained_date is null");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateIsNotNull() {
            addCriterion("maintained_date is not null");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateEqualTo(Date value) {
            addCriterionForJDBCDate("maintained_date =", value, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("maintained_date <>", value, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateGreaterThan(Date value) {
            addCriterionForJDBCDate("maintained_date >", value, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("maintained_date >=", value, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateLessThan(Date value) {
            addCriterionForJDBCDate("maintained_date <", value, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("maintained_date <=", value, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateIn(List<Date> values) {
            addCriterionForJDBCDate("maintained_date in", values, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("maintained_date not in", values, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("maintained_date between", value1, value2, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andMaintainedDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("maintained_date not between", value1, value2, "maintainedDate");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNull() {
            addCriterion("product_type is null");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNotNull() {
            addCriterion("product_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductTypeEqualTo(String value) {
            addCriterion("product_type =", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotEqualTo(String value) {
            addCriterion("product_type <>", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThan(String value) {
            addCriterion("product_type >", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThanOrEqualTo(String value) {
            addCriterion("product_type >=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThan(String value) {
            addCriterion("product_type <", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThanOrEqualTo(String value) {
            addCriterion("product_type <=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLike(String value) {
            addCriterion("product_type like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotLike(String value) {
            addCriterion("product_type not like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeIn(List<String> values) {
            addCriterion("product_type in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotIn(List<String> values) {
            addCriterion("product_type not in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeBetween(String value1, String value2) {
            addCriterion("product_type between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotBetween(String value1, String value2) {
            addCriterion("product_type not between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductPropsIsNull() {
            addCriterion("product_props is null");
            return (Criteria) this;
        }

        public Criteria andProductPropsIsNotNull() {
            addCriterion("product_props is not null");
            return (Criteria) this;
        }

        public Criteria andProductPropsEqualTo(String value) {
            addCriterion("product_props =", value, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsNotEqualTo(String value) {
            addCriterion("product_props <>", value, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsGreaterThan(String value) {
            addCriterion("product_props >", value, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsGreaterThanOrEqualTo(String value) {
            addCriterion("product_props >=", value, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsLessThan(String value) {
            addCriterion("product_props <", value, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsLessThanOrEqualTo(String value) {
            addCriterion("product_props <=", value, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsLike(String value) {
            addCriterion("product_props like", value, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsNotLike(String value) {
            addCriterion("product_props not like", value, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsIn(List<String> values) {
            addCriterion("product_props in", values, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsNotIn(List<String> values) {
            addCriterion("product_props not in", values, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsBetween(String value1, String value2) {
            addCriterion("product_props between", value1, value2, "productProps");
            return (Criteria) this;
        }

        public Criteria andProductPropsNotBetween(String value1, String value2) {
            addCriterion("product_props not between", value1, value2, "productProps");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}